import {createStore,applyMiddleware} from "redux";
import { composeWithDevTools } from "redux-devtools-extension";
import {allReducer} from "./reducers";
import thunk from 'redux-thunk'

export interface IStore {
    chatList: Array<any>;
    friendList: Array<any>;
}

export default createStore(allReducer,composeWithDevTools(applyMiddleware(thunk)))

